package com.huijun.product.controller;

public class TestController {

    public static void main(String[] args) {
        String a = "b";
        String b = "b";
        String c = new String("b");
        System.out.println(a.equals(b));    //true
        System.out.println(a==b);           //false
        System.out.println(a.equals(c));    // false
        System.out.println(a==c);           //false2
    }
}
